<?
$db_host = "localhost";
$db_name = "root";
$db_pass = "";
$db_name = "ais_0804";


$a = @mysql_connect("$db_host", "$db_name", "$db_pass");

$q1 = mysql_query("CREATE TABLE z_temp_a (
             nobkt VARCHAR(255) NOT NULL,
             ktrasl VARCHAR(255) NOT NULL,
             tanggal VARCHAR(255) NOT NULL
             )TYPE=MyISAM;",$a);

$q2 = mysql_query("CREATE TABLE z_temp_b (
             nobkt VARCHAR(255) NOT NULL,
             ktrasl VARCHAR(255) NOT NULL,
             tanggal VARCHAR(255) NOT NULL,
             salah VARCHAR(255) NOT NULL
             )TYPE=MyISAM;",$a);

$q3 = mysql_query("CREATE TABLE z_coba (
             user VARCHAR(255) NOT NULL,
             nama VARCHAR(255) NOT NULL,
             pass VARCHAR(255) NOT NULL,
             mail VARCHAR(255) NOT NULL
             )TYPE=MyISAM;",$a);

if(!$q1){echo "gagal q-1<br>";}
if(!$q2){echo "gagal q-2<br>";}
if(!$q3){echo "gagal q-3<br>";}
?>